package com.heima.homeservicemanagementsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.homeservicemanagementsystem.entity.SysRole;

import com.heima.homeservicemanagementsystem.entity.vo.RoleAuthority;
import com.heima.homeservicemanagementsystem.entity.vo.RoleListVo;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 角色表(SysRole)表服务接口
 *
 * @author makejava
 * @since 2025-02-27 15:15:14
 */
@Service
public interface SysRoleService extends IService<SysRole> {
    List<String> getPermissions(String roleId);

    boolean check(RoleAuthority authority);

    List<RoleListVo> search(String role, String value);

    List<RoleListVo> getTableRoles();

    boolean removeMeprebyId(List<String> id);
}

